<?php
$file_handle = fopen("num.txt", "r");
$num = fgets($file_handle);
fclose($file_handle);
$file_handle = fopen("list.php", "r");
$list[1] = fgets($file_handle);
for ($i=1;$i<=$num;$i++){
	$list[$i] = fgets($file_handle);
}
$list[$i]=fgets($file_handle);
echo "<BODY background=\"background.jpg\"><a href=\"100.php\"><p align=\"center\" style=\"font-size:100pt;color:blue;\"><br><br>".$list[$i]."</p></a>";
fclose($file_handle);
$file_handle = fopen("num.txt", "w");
fwrite($file_handle,$i);
fclose($file_handle);
?>